import request from '@/router/axios';

/**
 * 管理员列表
 */
export const getList = (current, size, params) => {
  return request({
    url: '/api/rb-merchant/merchant/posStaff/pos_staff/staffPage',
    method: 'get',
    params: {
      ...params,
			current,
			size
    }
  })
}
/**
 *  管理员添加 提交信息(新增)
 */
export const submitManage = (row) => {
  return request({
    url: '/api/rb-merchant/merchant/posStaff/pos_staff/addStaff',
    method: 'post',
    data: row
  })
}
/**
 * 所属门店
 */
export const storeList = (params) => {
  return request({
    url: '/api/rb-merchant/merchant/posStaff/pos_staff/storeList',
    method: 'get',
    params
  })
}
/**
 * 输入手机号判断是否输入密码
 */
export const isStaffPassWord = (mobile) => {
  return request({
    url: '/api/rb-merchant/merchant/posStaff/pos_staff/isStaffPassWord',
    method: 'get',
    params: {
      mobile
    }
  })
}
/**
 * 商户列表
 */
export const getRpiNOList = (current, size, params) => {
  return request({
    url: '/api/rb-merchant/merchant/incomingbasic/incoming_basic/listV2',
    method: 'get',
    params: {
      ...params,
			current,
			size
    }
  })
}